package com.bootdo.check.domain;

import org.joda.time.DateTime;

/**
 * 盘点-仓位关系表
 * @author yuanchenyun
 *
 */
public class CheckInfoDO {

	private static final long serialVersionUID = 1L;
	private Integer id;//编号
	private Integer shelfId;//货架编号
	private Long allocationId;//仓位编号
	private Long goodsId;//商品编号
	private Integer allType;//仓位类型
	private Integer oldNum;//系统数量
	private Integer newNum;//现实数量
	private Integer state;//状态 -1:待盘点 3:盘点完成 4:异常
	private DateTime finish;//完成时间
	private String errorCause;//异常原因
	private String errorDo;//异常处理
	public CheckInfoDO() {
		super();
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getShelfId() {
		return shelfId;
	}
	public void setShelfId(Integer shelfId) {
		this.shelfId = shelfId;
	}
	public Long getAllocationId() {
		return allocationId;
	}
	public void setAllocationId(Long allocationId) {
		this.allocationId = allocationId;
	}
	public Long getGoodsId() {
		return goodsId;
	}
	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}
	public Integer getAllType() {
		return allType;
	}
	public void setAllType(Integer allType) {
		this.allType = allType;
	}
	public Integer getOldNum() {
		return oldNum;
	}
	public void setOldNum(Integer oldNum) {
		this.oldNum = oldNum;
	}
	public Integer getNewNum() {
		return newNum;
	}
	public void setNewNum(Integer newNum) {
		this.newNum = newNum;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public DateTime getFinish() {
		return finish;
	}
	public void setFinish(DateTime finish) {
		this.finish = finish;
	}
	public String getErrorCause() {
		return errorCause;
	}
	public void setErrorCause(String errorCause) {
		this.errorCause = errorCause;
	}
	public String getErrorDo() {
		return errorDo;
	}
	public void setErrorDo(String errorDo) {
		this.errorDo = errorDo;
	}
	
}
